<?php
/*************************************************

节目模型 - the 
Author: WangHuabin <17-6-13>

*************************************************/
namespace Home\Model;
use Think\Model\RelationModel;
class ProgramModel extends RelationModel {
   

    //查询单数据
    public function get_one($map){
        $data = $this->where($map)->find();
        return $data;
    }
}